/**
 * @api {get} /activity 获取活动信息
 * @apiName activity
 * @apiGroup activity
 *
 * @apiHeader {String} authorization auth_token
 *
 * @apiParam {String} [activity_name] 活动名【模糊匹配】.(可选)
 * @apiParam {Number} [activity_state=0] 活动状态【0:未开始,1:进行中,2:已结束】.(可选)
 * @apiParam {String} [creator] 创建者【模糊匹配】.(可选)
 * @apiParam {Number} [page=1] 页数【默认1】(可选).
 * @apiParam {Number} [pagesize=5] 每页条数【默认5】(可选).
 *
 * @apiSuccess {Number} code 状态码.
 * @apiSuccess {String} msg 信息.
 * @apiSuccess {Object} data 响应数据.
 *
 * @apiSuccessExample 成功-响应:
 *     HTTP/1.1 200 OK
 */

/**
 * @api {put} /activity/:id 修改活动信息
 * @apiName editNews
 * @apiGroup activity
 *
 * @apiHeader {String} authorization auth_token
 *
 * @apiParam {String} id ID【必填】.
 * @apiParam {String} [activity_name] 活动名称【可选】.
 * @apiParam {Data} [start_time] 开始时间【可选】.
 * @apiParam {Number} [activity_state=0] 活动状态【0:未开始,1:进行中,2:已结束】.
 * @apiParam {String} [creator] 创建者【可选】.
 *
 * @apiSuccess {Number} code 状态码.
 * @apiSuccess {String} msg 信息.
 * @apiSuccess {Object} data 响应数据.
 *
 * @apiSuccessExample 成功-响应:
 *     HTTP/1.1 200 OK
 */

/**
 * @api {post} /activity/insert 增加活动
 * @apiName insertActivity
 * @apiGroup activity
 *
 * @apiHeader {String} authorization auth_token
 *
 * @apiParam {String} activity_name 活动名【必填】.
 * @apiParam {String} creator 创建者【必填】.
 * @apiParam {Number} [activity_state=0] 活动状态【0:全部,1:未开始,2:进行中,3:已结束】(可选).
 * @apiParam {Data} [start_time] 创建时间【可选】.
 *
 * @apiSuccess {Number} code 状态码.
 * @apiSuccess {String} msg 信息.
 * @apiSuccess {Object} data 响应数据.
 *
 * @apiSuccessExample 成功-响应:
 *     HTTP/1.1 200 OK
 */

/**
 * @api {delete} /activity/:id 删除活动
 * @apiName deleteActivity
 * @apiGroup activity
 *
 * @apiHeader {String} authorization auth_token
 *
 * @apiParam {String} id ID【必填】.
 *
 * @apiSuccess {Number} code 状态码.
 * @apiSuccess {String} msg 信息.
 * @apiSuccess {Object} data 响应数据.
 *
 * @apiSuccessExample 成功-响应:
 *     HTTP/1.1 200 OK
 */